package com.lqm.service.home;

import com.lqm.entity.home.Comments;
import com.lqm.entity.home.Project;

import java.util.List;

public interface CommentsService {
    /**
     * 获取项目的评论信息
     * @param project 项目
     * @return
     */
    List<Comments> findAllByProject(Project project, int limit, int page);

    /**
     * 添加一条评论
     * @param comments
     * @return
     */
    Comments addComments(Comments comments);
}
